#xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx test dose_statistics lib
add_library(${MY_LIB_TE} SHARED)
#----- 使用自定义函数配置导出头文件
my_config_export_header(${MY_LIB_TE} ${MY_EXPORTS_DIR})

target_sources(${MY_LIB_TE}
    PRIVATE
        TestDoseStatCuda.cpp
    PUBLIC
        TestDoseStatCuda.h
)
# 链接依赖库
target_link_libraries(${MY_LIB_TE}
    PRIVATE
        common
        cnpy::cnpy
        ## PRIVATE ${CUDA_cudart_LIBRARY}
        CUDA::cudart
    PUBLIC
        ${MY_LIB}
)

install(TARGETS ${MY_LIB_TE}
    RUNTIME DESTINATION bin
    LIBRARY DESTINATION bin
    ARCHIVE DESTINATION bin
)